package com.learn.multDataSource.mapper.mysql;

import com.learn.multDataSource.model.mysql.TKnowType;
import com.learn.multDataSource.model.mysql.TKnowTypeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TKnowTypeMapper {
    int countByExample(TKnowTypeExample example);

    int deleteByExample(TKnowTypeExample example);

    int deleteByPrimaryKey(String knowType);

    int insert(TKnowType record);

    int insertSelective(TKnowType record);

    List<TKnowType> selectByExample(TKnowTypeExample example);

    TKnowType selectByPrimaryKey(String knowType);

    int updateByExampleSelective(@Param("record") TKnowType record, @Param("example") TKnowTypeExample example);

    int updateByExample(@Param("record") TKnowType record, @Param("example") TKnowTypeExample example);

    int updateByPrimaryKeySelective(TKnowType record);

    int updateByPrimaryKey(TKnowType record);
}